package com.cjz.component1;

import android.os.Bundle;

import com.alibaba.android.arouter.facade.annotation.Autowired;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.launcher.ARouter;
import com.cjz.common.base.BaseActivity;
import com.cjz.fake_common_library1.FakeLib1;

import com.cjz.common.router.ActivityProvider;
import com.cjz.common.router.RouterPath;

@Route(path = RouterPath.JUMP_TO_COMPONENT_1)
public class ComponentOneActivity extends BaseActivity {

    @Autowired
    ActivityProvider activityProvider;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        ARouter.getInstance().inject(this);

        setContentView(R.layout.activity_component_one);


        FakeLib1 fakeLib1 = new FakeLib1();
        fakeLib1.test();

        activityProvider.openActivity(this);
    }
}
